﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Models
{
    /// <summary>
    /// 入库垛信息查询类
    /// </summary>
    public class TStackingStorageCriteriaModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int? Id
        {
            get;
            set;
        }

        /// <summary>
        /// 库房Id
        /// </summary>
        public string WarehouseCode
        {
            get;
            set;
        }

        /// <summary>
        /// 库区编码
        /// </summary>
        public string AreaCode
        {
            get; set;
        }
        ///// <summary>
        ///// 关联单号Id
        ///// </summary>
        //public int? RelatedOrderId
        //{
        //	get;
        //	set;
        //}

        /// <summary>
        /// 关联单详情Id
        /// </summary>
        public int? RelatedOrderDetailId
        {
            get;
            set;
        }

        /// <summary>
        /// 单据类型
        /// </summary>
        public int? BillType
        {
            get;
            set;
        }

        /// <summary>
        /// 状态：0-失效；1-生效；
        /// </summary>
        public int? Status
        {
            get;
            set;
        }

        /// <summary>
        /// 垛条码
        /// </summary>
        public string PalletBarcode
        {
            get;
            set;
        }

        /// <summary>
        /// 预留分配的收货仓位
        /// </summary>
        public string ExpectedLocation
        {
            get;
            set;
        }
        /// <summary>
        /// 暂存缓存位
        /// </summary>
        public string CacheLocation
        {
            get;
            set;
        }

        /// <summary>
        /// 垛总长：单位厘米
        /// </summary>
        public int? TotalLength
        {
            get;
            set;
        }

        /// <summary>
        /// 垛总宽：单位厘米
        /// </summary>
        public int? TotalWidth
        {
            get;
            set;
        }

        /// <summary>
        /// 垛总高：单位厘米
        /// </summary>
        public int? TotalHeight
        {
            get;
            set;
        }

        /// <summary>
        /// 垛体积：单位立方厘米
        /// </summary>
        public int? TotalVolume
        {
            get;
            set;
        }

        /// <summary>
        /// 垛重量：单位千克
        /// </summary>
        public decimal? TotalWeight
        {
            get;
            set;
        }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark
        {
            get;
            set;
        }

        /// <summary>
        /// 创建人Id
        /// </summary>
        public int? CreateUserId
        {
            get;
            set;
        }

        /// <summary>
        /// 物料Id
        /// </summary>
        public int? MaterialId
        {
            get;
            set;
        }

        /// <summary>
        /// 物料编码
        /// </summary>
        public string MaterialCode
        {
            get;
            set;
        }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName
        {
            get;
            set;
        }

        /// <summary>
        /// 物料批次信息Id
        /// </summary>
        public int? MaterialKeyId
        {
            get;
            set;
        }

        /// <summary>
        /// 批次号
        /// </summary>
        public string BatchNO
        {
            get;
            set;
        }

        /// <summary>
        /// 所属逻辑分区编号
        /// </summary>
        public string LogicalPartCode
        {
            get; set;
        }
        /// <summary>
        /// 父级托盘
        /// </summary>
        public string ParentPalletBarcode
        {
            get; set;
        }
        /// <summary>
        /// 木托盘条码
        /// </summary>
        public string WoodPalletBarcode
        {
            get; set;
        }

        /// <summary>
        /// 是否是花盘
        /// </summary>
        public bool? IsMultPallet
        {
            get; set;
        }
    }
}
